package com.wormhole.wormholemanagement.controller.response;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

// 响应DTO
@Data
@AllArgsConstructor
public class PersonPositionResponse {
    private boolean success;
    private String message;
    private List<PositionInfo> data;

    @Data
    @AllArgsConstructor
    public static class PositionInfo {
        private Long personId;
        private String personName;
        private Long positionId;
        private String positionTitle;
        private LocalDate startDate;
        private boolean isCurrent;
    }
}